Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 3 - Image Compression Manager / Image Compression Manager Reference
Image Compression Manager Functions / Changing Sequence-Decompression Parameters


SetDSequenceTransferMode

The SetDSequenceTransferMode function sets the mode used when drawing the decompressed image.

pascal OSErr SetDSequenceTransferMode (ImageSequence seqID,
                                       short mode, 
                                       const RGBColor *opColor);
seqID
Contains the unique sequence identifier that was returned by the DecompressSequenceBegin function (described on page 3-107).
mode
Specifies the transfer mode used when drawing the decompressed image. The Image Compression Manager supports the same transfer modes supported by QuickDraw's CopyBits routine (described in Inside Macintosh: Imaging).
opColor
Contains a pointer to the color for use in addPin, subPin, blend, and transparent operations. The Image Compression Manager passes this color to QuickDraw as appropriate. If nil, the opcolor is left unchanged.
DESCRIPTION
The Image Compression Manager supports the same transfer modes supported by QuickDraw's CopyBits routine. The new mode takes effect with the next frame in the sequence. For any given sequence, the default opcolor is 50 percent gray and the default mode is ditherCopy.

RESULT CODES
noErr0No error
paramErr-50Invalid parameter specified
SEE ALSO
You set the default transfer mode for a sequence with the mode parameter to the DecompressSequenceBegin function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996